package com.link.base.base.project.service;

import com.link.base.base.project.model.CarSalesComp;
import com.link.core.basic.service.BasicService;

import java.util.List;

/**
 * 前20车企销售额
 *
 * @author 王昊
 * @date 2021-05-07 13:48:06
 */
public interface  CarSalesCompService extends BasicService<CarSalesComp> {

    /**
     * 前20车企销售额（饼图）
     * 根据头年份查询车企销售额
     * @param entity
     * @return
     */
    List<CarSalesComp> queryAllByYear(CarSalesComp entity) throws Exception;
}